package com.zhiqian.service.impl;

import com.zhiqian.annotation.Service;
import com.zhiqian.bean.HelloObject;
import com.zhiqian.service.HelloService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Service
public class HelloServiceImpl implements HelloService {
    private static final Logger logger= LoggerFactory.getLogger(HelloServiceImpl.class);
    @Override
    public String hello(HelloObject object) {
        logger.info("接收到：{}",object.getMessage());
        return "这是调用的返回值，id="+object.getId();
    }
}
